package com.bj58.di.entity;

import javax.inject.Inject;
import javax.inject.Named;

public class Server {
	
	@Inject
	@Named("ip")
	private String ip;
	
	@Inject
	@Named("port")
	private int port;

	public String getIp() {
		return ip;
	}

	public void setIp(String ip) {
		this.ip = ip;
	}

	public int getPort() {
		return port;
	}

	public void setPort(int port) {
		this.port = port;
	}
	
}
